package net.killerscape.packethandler;

import net.killerscape.model.Player;
import net.killerscape.model.player.Inventory;
import net.killerscape.net.Packet;
import org.apache.mina.common.IoSession;

public class ClickObject implements PacketHandler {

	public void handlePacket(Packet p, IoSession session) {
		Player player = (Player)session.getAttachment();
		switch(p.getId()) {
		case 181: //first click bank = 5292
			player.getActionSender().sendInterface(5292);
			player.getInventory().setInventoryType(Inventory.SHOP_FRAME);
			break;
		case 241: //second click
			break;
		}
	}

}
